import {callAjax} from '@/util/ajax/index.js'

export let orderService = {
	getOrderList : function(orderParam,resolve,reject){
		callAjax({
			url : '/order/list.do',
			data : orderParam,
			success : resolve,
			error : reject
		})
	},
	getProductList : function(resolve,reject){
        callAjax({
            url     : '/order/get_order_cart_product.do',
            success : resolve,
            error   : reject
        })
	}
}